﻿using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace WpfAppTest
{

    [SampleName("帧动画播放")]
    public partial class FrameImagesPlayerDemo : Page, ISample
    {
        public FrameImagesPlayerDemo()
        {
            InitializeComponent();
            this.Loaded += FrameImagesPlayerDemo_Loaded;
        }

        private void FrameImagesPlayerDemo_Loaded(object sender, RoutedEventArgs e)
        {
            fip1.SetSourceResourceFolder(Assembly.GetExecutingAssembly(), "frameimgs");
            fip2.SetSourceResourceFolder(Assembly.GetExecutingAssembly(), "frameimgs");
            fip3.SetSourceResourceFolder(Assembly.GetExecutingAssembly(), "frameimgs");
            fip4.SetSourceResourceFolder(Assembly.GetExecutingAssembly(), "frameimgs");
        }
    }
}
